package com.xt.base.dao.hibernate.code;

public class CodeCreateException extends Exception{

	private static final long serialVersionUID = -748207849152482015L;

	private Throwable cause;
	
	public CodeCreateException(String message){
    	super(message);
	}
	
	public CodeCreateException(Throwable t){
    	super(t.getMessage());
    	this.cause = t;
	}
	
	public Throwable getCause() {
		return cause;
	}

}
